package jj;


public class ZhanTest {

    public static void main(String[] args) {
        Zhan stack = new Zhan();

        String pingguoString = "苹果";
        String taoziString = "桃子";
        String xiguoString = "西瓜";
        String liString = "梨";

        stack.push(pingguoString);

        stack.printStackArr();

        stack.push(taoziString);
        stack.push(liString);
        stack.push(xiguoString);

        stack.printStackArr();

        stack.out();

        stack.printStackArr();

        stack.clear();

        stack.printStackArr();

    }
}
